package com.example.elysiumease.result;

import com.example.elysiumease.model.enums.PunishmentType;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;

public class VerdictRequest {
    @NotNull(message = "惩罚类型不能为空")
    private PunishmentType recommendedPunishment;

    @Min(value = 1, message = "严重程度至少为1级")
    private Integer severity;

    private String comments;

    // Getters and Setters
    public PunishmentType getRecommendedPunishment() { return recommendedPunishment; }
    public void setRecommendedPunishment(PunishmentType recommendedPunishment) {
        this.recommendedPunishment = recommendedPunishment;
    }
    public Integer getSeverity() { return severity; }
    public void setSeverity(Integer severity) { this.severity = severity; }
    public String getComments() { return comments; }
    public void setComments(String comments) { this.comments = comments; }
}